<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form id="i1">
        <input type="text">
        <input type="submit"value="提交">
        <a onclick="Submit()">提交</a>
    </form>

    <script>
        function Submit() {
            var tag=document.getElementById('i1');
            tag.submit();
        }
    </script>
</body>
</html>